package com.flyqiu.flow.api.std;


import com.flyqiu.flow.api.context.ProcInstContext;
import com.flyqiu.flow.model.entity.ru.ProcRuActivity;

public interface ElementCompleteHandler {


    /**
     * 完成任务
     *
     * @param procContext 流程上下文
     * @param actId       活动id
     */
    void complete(ProcInstContext procContext, String actId);

    void complete(ProcInstContext procContext, ProcRuActivity activity);
}
